<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>$.get</title>
    </head>
    <body>

    </body>
    <script src="js/jquery-3.6.0.js"></script>
    <script>
        'use strict';
        $.get('js/data.json', function (data) {
            console.log(data);
        });
    </script>

</html>